package cn.spikego.advicelite.client.core.command

abstract class Command(
        private val prefix: String,
        private val usage: String,
        private val description: String
) {
    @Throws(Exception::class)
    abstract fun execute(args: Array<String>)

    fun getDescription(): String = description
    fun getPrefix(): String = prefix
    fun getUsage(): String = usage
}